package 并发;

/**
 * Debug演示栈帧
 */
public class TestStack {
    public static void main(String[] args) {
        method(10);
    }
    public static void method(int x){
        int y = x + 1;
        Object m = method2();
        System.out.println(m);
    }
    public static Object method2(){
        Object n = new Object();
        return n;
    }
}
